<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>21期教学页面</title>
</head>
<body>
    <table border="1">
        <tr>
            <th>部门编号</th>
            <th>部门名称</th>
            <th>部门地址</th>
        </tr>
        <tr th:each="de:${depts}">
            <td th:text="${de.deptno}"></td>
            <td th:text="${de.dname}"></td>
            <td th:text="${de.loc}"></td>
        </tr>

    </table>

</body>
</html>